﻿
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Beauty.Module.Pos
{
	public partial class SelectCustomerVCtrl : UIViewController
	{
		public SelectCustomerVCtrl () : base ("SelectCustomerVCtrl", null)
		{
		}

		public override void DidReceiveMemoryWarning ()
		{
			// Releases the view if it doesn't have a superview.
			base.DidReceiveMemoryWarning ();
			
			// Release any cached data, images, etc that aren't in use.
		}

		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			ivFemale.Image = PosUtility.ImageFrom ("CreateNewJobshetVCtrl_ic_check");
			ivMale.Image = PosUtility.ImageFrom ("CreateNewJobshetVCtrl_bt_close_ic_uncheck");
			ivClose.Image = PosUtility.ImageFrom ("CreateNewJobshetVCtrl_bt_close");
			ivBack.Image = PosUtility.ImageFrom ("SelectCustomerVCtrl_ic_back");
			ivCustomer.Image = PosUtility.ImageFrom ("SelectCustomerVCtrl_cus_img1");

			ViewTop.Layer.BorderWidth = 1.0f;
			ViewTop.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			ViewTop.Layer.CornerRadius = 5.0f;

			ViewBot.Layer.BorderWidth = 1.0f;
			ViewBot.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			ViewBot.Layer.CornerRadius = 5.0f;

			btnOK.Layer.CornerRadius = 24.0f;
			btnOK.Layer.ShadowOpacity = 0.0f; 
			//btnOK.Layer.BorderWidth = 1.0f;
			//btnOK.Layer.BorderColor = UIColorExtensions.FromHexString ("#979797").CGColor;
			//btnOKbtnOK.Layer.BackgroundColor = UIColorExtensions.FromHexString ("#ffffff").CGColor;

			SearchBar.Layer.CornerRadius = 23.0f;
			SearchBar.Layer.ShadowOpacity = 0.0f; 
			SearchBar.Layer.BorderWidth = 1.0f;
			SearchBar.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			// Perform any additional setup after loading the view, typically from a nib.
		}
	}
}

